INSERT INTO `stat_hits` VALUES(NULL, %D0%BF%D1%80%D0%B8%D0%B2%D1%96%D1%82%20%D0%9B%D0%B8%D1%81%D0%B5, 0, UNIX_TIMESTAMP(), '216.73.216.3')
Ответ MySQL: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%D0%BF%D1%80%D0%B8%D0%B2%D1%96%D1%82%20%D0%9B%D0%B8%D1%81%D0%B5, 0, UNIX_TIMESTA' at line 1
Ошибка при запросе:
SELECT creatives.TID,
creatives.CID,
creatives.UID,
creatives.adding_date,
creatives.header,
creatives.fulltext,
categories.name as cname,
genres.name as zname,
contacts.name as uname
FROM creatives
LEFT JOIN categories USING (CID)
LEFT JOIN genres ON genres.ZID = creatives.ZID
LEFT JOIN contacts ON contacts.UID = creatives.UID
WHERE creatives.TID = '%D0%BF%D1%80%D0%B8%D0%B2%D1%96%D1%82%20%D0%9B%D0%B8%D1%81%D0%B5'
AND creatives.hidden <> 'y'
Ответ MySQL: 1054 Unknown column 'categories.name' in 'field list'
Ошибка при запросе:
SELECT count(*) as cnt, sum(Vote) as vt FROM `votes` WHERE `TID`=%D0%BF%D1%80%D0%B8%D0%B2%D1%96%D1%82%20%D0%9B%D0%B8%D1%81%D0%B5 GROUP BY `TID`
Ответ MySQL: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%D0%BF%D1%80%D0%B8%D0%B2%D1%96%D1%82%20%D0%9B%D0%B8%D1%81%D0%B5 GROUP BY `TID`' at line 1